@echo off
::设置编码格式utf-8否则有中文乱码
chcp 65001
echo.
echo 数据库备份上传Gitee开始

echo *****************************
echo.
echo 备份时间：%date% %time%
echo.
echo *****************************

cd /d D:\dreamsprod\databaseback
git add .
git commit -m "Auto commit."
git push origin master

echo 数据库备份上传Gitee开始结束

rem 关闭窗口
@echo 操作完成，5秒后关闭程序...
ping /n 5 127.1 >nul
exit